I N S T A L L A T I O N
|
Installing Linux softwareMost Linux programs comes as packages: single files which contain an entire compressed application, information about where to install it and other software requirements. Red Hat and Mandrake files have an RPM extension, which stands for Red Hat Package Manager. Packages are a very neat way of keeping track of the applications installed on your machine You need to be the root user to install software on Linux. If you use Mandrake you can click the drakconf icon on your desktop, and then click KPackage. Otherwise, open a terminal and type su - and enter the root accountÆs password when prompted. Then type either gnorpm or kpackage to launch KDE or GNOMEs package managers. If you prefer to use the command lin, type: rpm -Uvh <filename> to install packages, and rpm -e <filename> to uninstall packages. Some
software requires other software to be installed first. Each RPM file
provides a set of services, for example, the Netscape package provides a
Web browser service. Other applications require this service to exist before they can
be installed. This is called a dependency.
You can find the necessary RPMs at www.rpmfind.net.
Source RPMs contain source code; the raw ingredients to make a piece of software. To æcookÆ your source, you need to compile it. Source packages are relatively easy to install and to integrate with your other packages. You need to be the root user to install software on Linux. Open a terminal and type su -and enter the root accountÆs password when prompted. Then type rpm ûrebuild <filename> to compile the package. The cooked (or binary) package will be created in /usr/src/linux/ix86/ directory. Then install the binary package using rpm -Uvh </usr/src/linux/ix86/filename> Some
software requires other software to be installed first. Each RPM file
provides a set of services, for example, the Netscape package provides a
Web browser service. Other applications require this service to exist before they can
be installed. This is called a dependency.
You can find the necessary RPMs at www.rpmfind.net.
A tarball is a compressed file similar to WindowsÆ popular ZIP format. Since tarballs don't have dependencies or a central database of what's installed on your system, a package is usually preferable. However, a tarball is often the only way of obtaining new or beta software. You need to be the root user to install software on Linux. Open a terminal and type su - and enter the root accountÆs password when prompted. Make a directory for the software by typing mkdir /usr/local/<program name> Then type either gnozip or ark to launch KDE or GNOMEs compression programs. If you prefer to use the command line, type tar -xzvf <archive name> to extract tarballs to the current folder, or tar -czvf <new archive name> <folder to be compressed> to compress file Programs extracted from tarballs should be placed in a directory called /usr/local/<program name>.
|